package application;

/**
 * IDs of packets
 * @author BaciL
 *
 *
 *	HELLO PACKET	- Server gives Client his ID - ID is equals to Index of his platform (1 integer)
 *	PLATFORM PACKET	- Server gives Client position of the second player's platform (2 floats)
 *	BALL PACKET		- Server gives Client position of the ball (2 floats)
 *	HIT	PACKET		- Server gives Client X and Y of block, which was hit! (2 integers)
 *	MAP PACKET		- Server gives Client whole map (a lot of data) =DD
 *					- First are 2 integers which gives u Width and Height of the map
 *					- and then a lot of bytes, which means (id, r, g, b)
 */

public class Packet {
	public static final int PACKET_ID_HELLO		=	0;
	public static final int PACKET_ID_PLATFORM	=	1;
	public static final int PACKET_ID_BALL		=	2;
	public static final int PACKET_ID_BLOCK_HIT	=	3;
	public static final int PACKET_ID_MAP		=	4;
}
